package com.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;

@SpringBootApplication(scanBasePackages = {"com.example"})
@MapperScan("com.example.mapper")
@SpringBootConfiguration
@EnableCaching // 开启缓存
//@EnableScheduling//后台开启定时任务
public class ReviewSystemApplication {

	public static void main(String[] args) {
		SpringApplication.run(ReviewSystemApplication.class, args);
	}

}